package com.suray.basic.wcs.plc.pojo;

/**
 * 任务下发
 *
 * @author szn
 */
public class TaskSend {
    /**
     * 任务下发任务号
     */
    private Integer taskSendTaskNo;
    /**
     * 产品种类
     */
    private Integer productType;
    /**
     * 起点工位号
     */
    private String startStationNo;
    /**
     * 终点工位号
     */
    private String endStationNo;
    /**
     * 码垛数量
     */
    private Integer cargoCount;

    /**
     * 任务编号
     */
    private Integer taskId;


    public TaskSend(Integer taskId, Integer productType, String startStationNo, String endStationNo, Integer cargoCount) {
        super();
        this.taskId = taskId;
        this.productType = productType;
        this.startStationNo = startStationNo;
        this.endStationNo = endStationNo;
        this.cargoCount = cargoCount;
    }

    public Integer getTaskSendTaskNo() {
        return taskSendTaskNo;
    }

    public void setTaskSendTaskNo(Integer taskSendTaskNo) {
        this.taskSendTaskNo = taskSendTaskNo;
    }

    public Integer getProductType() {
        return productType;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    public String getStartStationNo() {
        return startStationNo;
    }

    public void setStartStationNo(String startStationNo) {
        this.startStationNo = startStationNo;
    }

    public String getEndStationNo() {
        return endStationNo;
    }

    public void setEndStationNo(String endStationNo) {
        this.endStationNo = endStationNo;
    }

    public Integer getCargoCount() {
        return cargoCount;
    }

    public void setCargoCount(Integer cargoCount) {
        this.cargoCount = cargoCount;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder("TaskReceive [taskId=" + taskId + ", taskSendTaskNo=" + taskSendTaskNo + ", productType=" + productType + ", startStationNo=" + startStationNo + ", endStationNo=" + endStationNo + ", cargoCount=" + cargoCount);
        sb.append("];");
        return sb.toString();
    }
}



